@maincolor: #000;
@mainFontSize: 14px;
@font: "Microsoft Yahei", "sans-serif";

*, ::before, ::after {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box;
}

body {
  font-size: @mainFontSize;
  font-family: @font;
  color: @maincolor;
}

a{
  text-decoration: none;
  color: @maincolor;
}

ul{
  list-style: none;
}
input,textarea{
  border: none;
  resize: none;
  outline: none; //清除选中效果
  -webkit-appearance: none; //清除手机浏览器表单输入默认样式
}

//清除浮动
.clearfix::before,.clearfix::after{
  content: ".";
  display: block;
  visibility: hidden;
  line-height: 0;
  height: 0;
  clear: both;
}